<template>
  <div>
    <van-button @click="periodShow = true">周期</van-button>
    <van-button @click="indicatorShow = true">指标</van-button>
    
    <Period :show.sync="periodShow" />
    <Indicator :show.sync="indicatorShow" />
  </div>
</template>

<script>
import Period from './Period.vue'
import Indicator from './Indicator.vue'

export default {
  name: 'Market',
  components: {
    Period,
    Indicator
  },
  data() {
    return {
      periodShow: false,
      indicatorShow: true
    }
  }
}
</script>

<style lang="scss" scoped></style>